//
//  PlatformWalletCell.m
//  reSearchDemo
//
//  Created by 科技 on 15/8/20.
//  Copyright (c) 2015年 Kiwaro. All rights reserved.
//

#import "PlatformWalletCell.h"

@interface PlatformWalletCell ()

@end

@implementation PlatformWalletCell

-(id)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        self.contentView.layer.masksToBounds = YES;
        self.contentView.layer.cornerRadius = 1;
        self.contentView.layer.borderWidth = 0.5;
        self.contentView.layer.borderColor = [[UIColor lightGrayColor] CGColor];
        
        
        self.text = [[UILabel alloc]initWithFrame:CGRectMake(0, 10, CGRectGetWidth(self.frame), 20)];
        self.text.center = self.contentView.center;
        //        self.text.backgroundColor = [UIColor brownColor];
        self.text.textAlignment = NSTextAlignmentCenter;
        [self addSubview:self.text];
    }
    
    return self;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
